import Vue from 'vue'
import App from './App.vue'
import Element from 'element-ui'
import './styles/element-var.scss'
import './styles/index.scss' // global css
import router from './router'
import store from './store'
import * as filters from './filters'
import Permission from './directive/permission'

Vue.use(Element)
Vue.use(Permission)
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
Vue.config.productionTip = false;


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


